package com.buer.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@AllArgsConstructor
@NoArgsConstructor
@TableName("buer_carprod")
public class Carprod {
    private Integer carprodId;
    private String prodImg;
    private String prodCode;
    private String prodName;
    private String prodSpecial;
    private String emit;
    private Integer num;
    private Integer prodCategoryTwo;
    private Integer carid;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String time;

    public Integer getCarid() {
        return carid;
    }

    public void setCarid(Integer carid) {
        this.carid = carid;
    }

    public Integer getCarprodId() {
        return carprodId;
    }

    public void setCarprodId(Integer carprodId) {
        this.carprodId = carprodId;
    }

    public String getProdImg() {
        return prodImg;
    }

    public void setProdImg(String prodImg) {
        this.prodImg = prodImg;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdSpecial() {
        return prodSpecial;
    }

    public void setProdSpecial(String prodSpecial) {
        this.prodSpecial = prodSpecial;
    }

    public String getEmit() {
        return emit;
    }

    public void setEmit(String emit) {
        this.emit = emit;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getProdCategoryTwo() {
        return prodCategoryTwo;
    }

    public void setProdCategoryTwo(Integer prodCategoryTwo) {
        this.prodCategoryTwo = prodCategoryTwo;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
